﻿using Microsoft.CodeAnalysis;
using System;
using System.Reflection;

namespace Miao.SourceGen.Common
{
    public static class SourceGenHelpers
    {
        /// <summary>
        /// 说是为了防止IDE阶段就反复编译，优化性能
        /// </summary>
        public static readonly bool IsBuildTime = Assembly.GetEntryAssembly() != null;
    }
}
